import React from 'react';
import { connect } from 'react-redux';
import { View, Button, Text } from '@tarojs/components';
import CodeInput from '@/components/CodeInput';

import '../style.scss';

const Index = ({}) => {
  return (
    <View className="affirm-style">
      <View className="card-view">
        <View className="code-view">
          <Text className="text-code-l">请输入支付密码</Text>
        </View>
        <CodeInput
          onChange={(val) => {
            console.log(val);
          }}
          type="password"
        />

        <View className="forget-txt">忘记密码</View>
        <View className="btn-view-card">
          <Button className="btn-yellow">确认支付</Button>
        </View>
      </View>
    </View>
  );
};
export default connect(({}) => ({}))(Index);
